export class Doctor {
  _id: string;
  name:string;
  hid:string;//是否需要支持一个医生隶属于多家医院？
  worktel:string;
  dtype:string;//医生类型：doctor、nurse
  introduction:string;
  homeaddress:string;
  homegps:string;
  servicetime:string;//服务时间，支持变化，依次记录该医生可提供服务的时间
  servicerange:string;//服务业务范围
  constructor(config){
  	this.name = config.name || '';
		this.hid = config.hid || '';
  	this.worktel = config.worktel || '';
  	this.dtype = config.dtype || '';
  	this.introduction = config.introduction || '';
  	this.homeaddress = config.homeaddress || '';
  	this.homegps = config.homegps || '';
  	this.servicetime = config.servicetime || '';
  	this.servicerange = config.servicerange || '';
  }
}
